package com.dlyk.service;

import com.dlyk.model.Product;
import com.dlyk.query.ProductQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductService {

    List<Product> getAllOnSaleProduct();

    PageInfo<Product> getProductListByPage(Integer current);

    int addProduct(ProductQuery productQuery);

    int editProduct(ProductQuery productQuery);
}

